<?php
require_once('../../conf/config.php.inc');
require_once(SYBMAS_LIB_PATH.'/liblogin.php.inc');
require_once(SYBMAS_LAYOUT_PATH.'/layout.php.inc');
require_once(SYBMAS_LIB_PATH.'/libsybmas.php.inc');
require_once(SYBMAS_LAYOUT_PATH.'/menu.php.inc');
require_once('libtablas.php.inc');
verificar_inicio_sesion();
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link rel="stylesheet" type="text/css"
	href="<?php echo LAYOUT_URI?>/sybmasstyle.css">
<script src="<?php echo LAYOUT_URI?>/jquery-1.2.1.min.js"
	type="text/javascript"></script>
<script src="<?php echo LAYOUT_URI?>/menu-collapsed.js"
	type="text/javascript"></script>
<link rel="stylesheet" type="text/css"
	href="<?php echo LAYOUT_URI?>/style.css" >
<link rel="stylesheet" type="text/css"
	href="<?php echo JAVASCRIPT_URI?>/tabs/tabs.css">
<script src="<?php echo JAVASCRIPT_URI?>/tabs/tabs.js"
	type="text/javascript"></script>
<script type="text/javascript" src="<?php echo JAVASCRIPT_URI?>/commons.js"></script>
<script src="<?php echo JAVASCRIPT_URI?>/validacionFormularios.js"
	type="text/javascript"></script>
<script src="usuarios.js"
	type="text/javascript"></script>
<title>.:: Sybmas - Modificar Fullname</title>
<!--[if lt IE 8]>
   <style type="text/css">
   li a {display:inline-block;}
   li a {display:block;}
   </style>
   <![endif]-->
</head>
<body>
<script src="<?php echo JAVASCRIPT_URI?>/tooltip/wz_tooltip.js"
	type="text/javascript"></script>
<div id="dialog">
<?php 
foreach($_POST as $key => $value){
	$$key=$value;
//	echo "$key => $value<br>";
}
?>
<div class="title">Cambiar Password</div>

<form action="modpass2.php" method="post" target="constraints_dialog"> 
<h2>Proporcione Los siguientes datos:</h2>

<table width="80%" border="1">
	<tbody>
		<tr>
			<th>Ingrese su password</th>
			<td>
				<input type="password" name="passActual" id="passActual"/>
			</td>									   			
		</tr>	
		<tr>
			<th>Ingrese el password del login</th>
			<td>
				<input type="password" name="passNuevo" id="passNuevo"/>				
			</td>									   			
		</tr>				
		<tr>
			<th>Nombre del Login</th>
			<td>
				<input type="text"  name="passlogin" id="passlogin" value="<?php echo $login?>" readonly="readonly">				
			</td>									   			
		</tr>				
	</tbody>
</table>

<hr>
<input type="submit" value="Continuar">
<input type="button" value="Cancelar" onclick="window.close()">
</form>
</div>
</body>
</html>
